/*
 * @Author: Wanko
 * @Date: 2023-08-17 10:31:51
 * @LastEditors: Wanko
 * @LastEditTime: 2024-01-18 10:47:11
 * @Description: 
 */
import { createApp } from 'vue'
import { createPinia } from 'pinia'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import 'caring-css'
// import './mock'

import App from './App.vue'
import router from './router'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

app.use(createPinia())
app.use(ElementPlus)
app.use(router)

app.mount('#app')
